package com.be.beadmin.product.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class WorkOrderInforExcelEx {
    @ExcelProperty("项目编码")
    private String projectCode;
    @ExcelProperty("项目名称")
    private String projectName;
    @ExcelProperty("当前批次")
    private Integer currentBatch;
    @ExcelProperty("交付日期")
    private Date batchDeliveryDate;
    @ExcelProperty("工单号")
    private String wo;
    @ExcelProperty("柜体编号")
    private String batchProductCode;
    @ExcelProperty("工单状态")
    private Integer state = 0;
    @ExcelProperty("工单计划释放标识")
    private BigDecimal releaseFlag;
    @ExcelProperty("柜体工单排程状态")
    private BigDecimal scheduledFlag;
    @ExcelProperty("创建日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date createTime;
//    @ExcelProperty("当前工单执行状态")
//    protected Integer alertStatus = 0;
//    @ExcelProperty("柜体名称")
//    private String ProductName;
//
//
//    @ExcelProperty("计划制造结束日期")
//    private Date planManufactEndDate;
//    @ExcelProperty("计划制造开始日期")
//    private Date planManufactStartDate;
//
//    @ExcelProperty("柜体ID")
//    private String batchProductId;
//    @ExcelProperty("变更状态")
//    private BigDecimal changeStatus;
//    @ExcelProperty("备注")
//    private String memo;
//    @ExcelProperty("工单计划调整标识")
//    private BigDecimal planEditFlag;
//    @ExcelProperty("柜体描述")
//    private String productDesc;
//    @ExcelProperty("柜体序号")
//    private String productSequence;
//
//    @ExcelProperty("柜体工单释放人员")
//    private String releaseMan;
//    @ExcelProperty("柜体工单释放时间")
//    private Date releaseTime;
//
//
//    @ExcelProperty("工单描述")
//    private String woDesc;
//    @ExcelProperty("计划编码")
//    private String batchPlanCode;
//    @ExcelProperty("计划Id")
//    private String batchPlanId;
//    @ExcelProperty("项目id")
//    private String infoId;
//    @ExcelProperty("批次总数")
//    private Integer batchCount;
//
//    @ExcelProperty("柜体类型")
//    private String productType;
//    @ExcelProperty("技术文件是否齐套")
//    private Integer isFileKitting;
//    @ExcelProperty("柜体工单结束时间")
//    private Date closeTime;

}
